/*
 * Copyright (c) 2006, 2021, webrx.cn All rights reserved.
 *
 */
package cn;

import java.util.function.IntBinaryOperator;

/**
 * <p>Project: mybatis2021 - Exam01
 * <p>Powered by webrx On 2021-07-14 11:26:32
 * <p>Created by IntelliJ IDEA
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 15
 */
public class Exam01 {
    public static void main(String[] args) {
        int a = 100, b = 100, c = 128, d = 128;
        System.out.println(a == b);//true
        System.out.println(c == d);//true
        Integer a1 = 100, b1 = 100, c1 = 128, d1 = 128;
        System.out.println(a1 == b1);//true
        System.out.println(c1 == d1);//false
        Integer x = Integer.valueOf(128);
        Integer y = Integer.valueOf(128);
        System.out.println(x == y);//false
        Integer x1 = new Integer(1);
        Integer x2 = new Integer(1);
        System.out.println(x1 == x2);//false
    }
}
